package com.william.jdbcplus.boot.test.util;

import java.io.UnsupportedEncodingException;
import java.net.URLEncoder;

public class BackupUtil {
    public static void main(String[] args) throws UnsupportedEncodingException {
        String path = "D:\\DEV\\SOURCE\\aliyun\\jdbc-plus-master.git\\jdbc-plus-boot-starter-test\\src\\main\\resources\\backup\\";
//        DataSource ds = DsUtil.getMysql3();
//        CrudUtil.backupToJson("com.william.jdbcplus.boot.test", ds, path);
//        CrudUtil.backupToTXT(path, 100000);

        String url = URLEncoder.encode("https://wx.newone.com.cn/weixin2018/test/wxcode", "utf-8");
        System.out.println(url);
    }
}
